<template>
  <div class="pic">
    <img src="./images/dog1.png" alt="">
    <p>这是一只孤独的狗</p>
  </div>
</template>

<script>

export default {
    
}
</script>

<style>
.pic {
  width: 200px;
  border: 1px solid #ccc;
  float: left;
}
.pic img {
  width: 200px;
}
.pic p {
  text-align: center;
}
</style>